array = [3,5,1,2,7,9,8,13,25,32]

puts array.inject(:+)

print array.find_all {|i| i > 10}
puts 

second_array = ['John', 'KB', 'Oliver', 'Cory', 'Matthew', 'Christopher']
puts second_array.shuffle
print second_array.find_all {|i| i.length > 5}
puts

third_array = ('a'..'z').to_a.shuffle
puts third_array.last 
puts third_array.first 
if ['a', 'e', 'i', 'o', 'u'].include? third_array.first 	
	puts "it's vowel!"
end

fourth_array = Array(1..10).map! {|i| rand(55...100)}
print fourth_array; puts

fifth_array = Array(1..10).map! {|i| rand(55...100)}
print fifth_array.sort!; puts
puts "Minimum value: #{fifth_array[0]}. Maximum value #{fifth_array[9]}"

sixth_array = (Array(1..5).map! {|i| (65 + rand(26)).chr}).join('')
print sixth_array; puts

seventh_array = Array(1..10).map! {(Array(1..5).map! {|i| (65 + rand(26)).chr}).join('')}
print seventh_array